/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package View;

import javax.swing.JPanel;

/**
 *
 * @author elach_000
 */
public class ClanGenerationPanel extends JPanel {

    private javax.swing.JLabel populationLabel;
    private javax.swing.JTextField populationTextField;
    private javax.swing.JLabel qgLabel;
    private javax.swing.JLabel qgXLabel;
    private javax.swing.JTextField qgXTextField;
    private javax.swing.JLabel qgYLabel;
    private javax.swing.JTextField qgYTextField;
    private javax.swing.JButton randomClanButton;
    private javax.swing.JLabel stoneminerLabel;
    private javax.swing.JTextField stoneminerTextField;
    private javax.swing.JLabel lumberjackLabel;
    private javax.swing.JTextField lumberjackTextField;
    private javax.swing.JLabel goldminerLabel;
    private javax.swing.JTextField goldminerTextField;
    private javax.swing.JLabel huntersLabel;
    private javax.swing.JTextField huntersTextField;
    private javax.swing.JLabel buildersLabel;
    private javax.swing.JTextField buildersTextField;
    private javax.swing.JButton clanDeleteButton;
    private javax.swing.JLabel fishermanLabel;
    private javax.swing.JTextField fishermanTextField;
    private javax.swing.JLabel clanNameLabel;
    private javax.swing.JTextField clanNameTextField;
    private IntegerInputVerifier intVerif;

    public ClanGenerationPanel() {
        this.intVerif = new IntegerInputVerifier();
        initComponents();
    }

    private void initComponents() {
        clanNameLabel = new javax.swing.JLabel();
        populationLabel = new javax.swing.JLabel();
        clanNameTextField = new javax.swing.JTextField();
        populationTextField = new javax.swing.JTextField();
        huntersLabel = new javax.swing.JLabel();
        buildersLabel = new javax.swing.JLabel();
        huntersTextField = new javax.swing.JTextField();
        buildersTextField = new javax.swing.JTextField();
        lumberjackLabel = new javax.swing.JLabel();
        lumberjackTextField = new javax.swing.JTextField();
        goldminerLabel = new javax.swing.JLabel();
        goldminerTextField = new javax.swing.JTextField();
        stoneminerLabel = new javax.swing.JLabel();
        stoneminerTextField = new javax.swing.JTextField();
        qgLabel = new javax.swing.JLabel();
        qgXLabel = new javax.swing.JLabel();
        fishermanLabel = new javax.swing.JLabel();
        fishermanTextField = new javax.swing.JTextField();
        qgXTextField = new javax.swing.JTextField();
        qgYLabel = new javax.swing.JLabel();
        qgYTextField = new javax.swing.JTextField();
        randomClanButton = new javax.swing.JButton();
        clanDeleteButton = new javax.swing.JButton();


        clanNameLabel.setText("Clan Name");

        populationLabel.setText("Population");
        populationTextField.setText("0");
        populationTextField.setInputVerifier(intVerif);

        huntersLabel.setText("Hunters");
        huntersTextField.setText("0");
        huntersTextField.setInputVerifier(intVerif);

        buildersLabel.setText("Builders");
        buildersTextField.setText("0");
        buildersTextField.setInputVerifier(intVerif);

        lumberjackLabel.setText("Lumberjack");
        lumberjackTextField.setText("0");
        lumberjackTextField.setInputVerifier(intVerif);

        goldminerLabel.setText("Goldminer");
        goldminerTextField.setText("0");
        goldminerTextField.setInputVerifier(intVerif);

        stoneminerLabel.setText("Stoneminer");
        stoneminerTextField.setText("0");
        stoneminerTextField.setInputVerifier(intVerif);

        qgLabel.setText("QG");

        qgXLabel.setText("X");
        qgXTextField.setText("0");
        qgXTextField.setInputVerifier(intVerif);

        qgYLabel.setText("Y");
        qgYTextField.setText("0");
        qgYTextField.setInputVerifier(intVerif);

        fishermanLabel.setText("Fisherman");
        fishermanTextField.setText("0");
        fishermanTextField.setInputVerifier(intVerif);

        randomClanButton.setText("Random");

        clanDeleteButton.setText("Delete");

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(this);
        this.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
                jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanel1Layout.createSequentialGroup()
                .addGap(25, 25, 25)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                .addGroup(jPanel1Layout.createSequentialGroup()
                .addComponent(stoneminerLabel)
                .addGap(18, 18, 18)
                .addComponent(stoneminerTextField, javax.swing.GroupLayout.DEFAULT_SIZE, 61, Short.MAX_VALUE))
                .addGroup(jPanel1Layout.createSequentialGroup()
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addComponent(populationLabel)
                .addComponent(huntersLabel)
                .addComponent(buildersLabel))
                .addGap(22, 22, 22)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                .addComponent(huntersTextField)
                .addComponent(populationTextField)
                .addComponent(buildersTextField, javax.swing.GroupLayout.DEFAULT_SIZE, 61, Short.MAX_VALUE))))
                .addGroup(jPanel1Layout.createSequentialGroup()
                .addComponent(clanNameLabel)
                .addGap(18, 18, 18)
                .addComponent(clanNameTextField, javax.swing.GroupLayout.PREFERRED_SIZE, 64, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addGap(33, 33, 33)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                .addGroup(jPanel1Layout.createSequentialGroup()
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanel1Layout.createSequentialGroup()
                .addComponent(qgLabel)
                .addGap(27, 27, 27)
                .addComponent(qgXLabel)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(qgXTextField, javax.swing.GroupLayout.PREFERRED_SIZE, 33, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(26, 26, 26)
                .addComponent(qgYLabel))
                .addComponent(fishermanLabel))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addComponent(qgYTextField, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGroup(jPanel1Layout.createSequentialGroup()
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addComponent(lumberjackLabel)
                .addComponent(goldminerLabel))
                .addGap(39, 39, 39)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                .addComponent(fishermanTextField, javax.swing.GroupLayout.DEFAULT_SIZE, 62, Short.MAX_VALUE)
                .addComponent(goldminerTextField)
                .addComponent(lumberjackTextField)))
                .addGroup(jPanel1Layout.createSequentialGroup()
                .addComponent(randomClanButton, javax.swing.GroupLayout.PREFERRED_SIZE, 73, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(clanDeleteButton, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
                .addContainerGap(49, Short.MAX_VALUE)));
        jPanel1Layout.setVerticalGroup(
                jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanel1Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                .addComponent(clanNameLabel)
                .addComponent(clanNameTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addComponent(randomClanButton)
                .addComponent(clanDeleteButton))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                .addComponent(populationLabel)
                .addComponent(populationTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addComponent(qgLabel)
                .addComponent(qgXLabel)
                .addComponent(qgXTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addComponent(qgYLabel)
                .addComponent(qgYTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                .addComponent(huntersLabel)
                .addComponent(huntersTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addComponent(lumberjackLabel)
                .addComponent(lumberjackTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                .addComponent(goldminerLabel)
                .addComponent(goldminerTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addComponent(buildersTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addComponent(buildersLabel, javax.swing.GroupLayout.Alignment.TRAILING))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                .addComponent(stoneminerLabel)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                .addComponent(stoneminerTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addComponent(fishermanLabel)
                .addComponent(fishermanTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(107, Short.MAX_VALUE)));

    }
}
